#pragma once
#include <iostream>
using namespace std;
static int ID = 10000;

class Worker
{
private:
	int m_ID;
	string m_Name;
	int m_Age;
	string m_Position;
	int m_State = 0;
	//int m_Sales;
public:

	virtual void show();
	virtual int getSales();
	virtual void setSales(int sales);
	

	int getID() {
		return m_ID;
	}
	string getName() {
		return m_Name;
	}
	int getAge() {
		return m_Age;
	}
	string getPositon() {
		return m_Position;
	}
	int getState() {
		return m_State;
	}
	

	void setID(int ID) {
		m_ID = ID;
	}
	void setName(string name) {
		m_Name = name;
	}
	void setAge(int age) {
		m_Age = age;
	}
	void setPosition(string position) {
		m_Position = position;
	}
	void setState(int state) {
		m_State = state;
	}
	
};